package com.blog.oguzhan.soapui.utils.datasource;

public abstract class DBDatasource<T extends Iterable<?>> extends Datasource<T> {

	private String username, password, url;

	public DBDatasource(String name, String username, String password, String url) {
		super(name);
		this.username = username;
		this.password = password;
		this.url = url;
	}

	protected String getUsername() {
		return username;
	}

	protected String getPassword() {
		return password;
	}

	protected String getUrl() {
		return url;
	}

	@Override
	public String toString() {
		return "DBDatasource [username=" + username + ", password=" + password
				+ ", url=" + url + "]";
	}

}
